Chris Pollett > Old Classes >
CS174

( Print View )

Student Corner:
  [Grades Sec1]
  [Grades Sec2]
  [Grades Sec3]

  [Submit Sec1]
  [Submit Sec2]
  [Submit Sec3]

  [Class Sign Up Sec1]
  [Class Sign Up Sec2]
  [Class Sign Up Sec3]

  [
Lecture Notes]
  [Discussion Board]

Course Info:
  [Texts & Links]
  [Topics/Outcomes]
  [Outcomes Matrix]
  [Grading]
  [HW Info]
  [Exam Info]
  [Regrades]
  [Honesty]
  [Additional Policies]
  [Announcements]

HW Assignments:
  [Hw1]  [Hw2]  [Hw3]
  [Hw4]  [Hw5]

Practice Exams:
  [Mid1]  [Mid2]  [Final]

                           












CS174 Fall 2007Practice Final

[Student Generated Solutions-TXT]

To study for the finaI I would suggest you: (1) Know how to do (by heart) all the practice problems. (2) Go over your notes at least three times. Second and third time try to see how much you can remember from the first time. (3) Go over the homework problems. (4) Try to create your own problems similar to the ones I have given and solve them. (5) Skim the relevant sections from the book. (6) If you want to study in groups, at this point you are ready to quiz each other. The practice final is below. Here are some facts about the actual final: (a) It is comprehensive (b) It is closed book, closed notes. Nothing will be permitted on your desk except your pen (pencil) and test. (c) You should bring photo ID. (d) There will be more than one version of the test. Each version will be of comparable difficulty. (e) It is 10 problems, 6 problems will be on material since the 2nd midterm, two problems each come from the topics covered by each of the prior midterms. (f) Two problems will exactly (less typos) be off of the practice final, and one will be off of each of the other practice tests.

1. Give a way to include bob.swf into your XHTML document so that (a) bob.swf runs on all modern browsers and (b) your XHTML will validate.

2. Write a simple Flex Application with one button, which when clicked displays an Alert saying: Hello world!

3. Give an example of using CSS with Flex.

4. What is data binding in Flex? Give an example of binding a property of one Flex control to another one. Give an example of how to bind the property of a Flex component to an Actionscript variable.

5. Give the syntax necessary for defining a new public class Bob in the package Foo in Actionscript.

6. Give an example of how to use Flex to play the video foo.flv

7. Briefly explain what how Actionscript could be used to call the Javascript function foo of the HTML file on which the Flash object lives.

8. Give the mod_rewrite rewrite rule that could be used to map URL of form /something/XXX/YYY/ to something.php?low=XXX&hi=YYY. Here XXX and YYY could be any alphanumeric string.

9. Briefly explain in the context of SEO what cloaking is.

10. Your company has a Products table which has a Product_Name column and a date added column briefly describe how you could create a RSS feed with an entry every time 5 new items are added to the product table. Your feeds channel only needs to keep 20 items.